﻿namespace IDal
{
    public interface IBaseDal<T>
    {
        public Task<int> AddAsync(T t);
        public Task<int> AddRangeAsync(List<T> list);

        public Task<int> DelAsync(T t);
        public Task<int> DelRangeAsync(List<T> list);

        public Task<int> UpdaAsync(T t);
        public Task<int> UpdaRangeAsync(List<T> list);

        public IQueryable<T> GetAsync();
    }
}
